package com.xk857.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 组团旅游
 * </p>
 *
 * @author CV大魔王
 * @since 2021-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("school_tourism")
@ApiModel(value="Tourism对象", description="组团旅游")
public class Tourism implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "详细说明，包含时间等")
    private String comtent;

    @ApiModelProperty(value = "详细说明md格式，包含时间等")
    private String mdContent;

    @ApiModelProperty(value = "发布人id")
    private String userId;

    @ApiModelProperty(value = "集合地点/时间")
    private String address;

    @ApiModelProperty(value = "团长联系方式")
    private String phone;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "最大人数")
    private Integer peopleNum;

    @ApiModelProperty(value = "团长昵称")
    private String nickName;

    @ApiModelProperty(value = "头像地址")
    private String userImg;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "0删除 1发布 2人满 3结束")
    private String status;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "浏览数")
    private Integer viewNum;

    @ApiModelProperty(value = "喜欢数")
    private Integer likeNum;



}
